package org.lx.nursing.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.lx.nursing.domain.Contract;

import java.util.List;

/**
 * 合同Mapper接口
 *
 * @author lx
 * @date 2025-02-28
 */
@Mapper
public interface ContractMapper extends BaseMapper<Contract> {
    Contract selectContractById(Long id);

    List<Contract> selectContractList(Contract contract);

    int insertContract(Contract contract);

    int updateContract(Contract contract);

    int deleteContractById(Long id);

    int deleteContractByIds(Long[] ids);

    Contract selectContractByElderId(Long ElderId);
}
